#Author: Tanyong
# *-* coding:utf8 *-*
# @time       : 2018/7/22 10:27
# @Author     : Tanyong
# @Site       : 
# @File       : __init__.py.py
# @Software   : PyCharm
from flask import Blueprint

news_blu = Blueprint("news", __name__, url_prefix='/news')

from . import views

@news_blu.errorhandler(404)
def news_not_found(e):
    """在news详情页中出现404 会先被本蓝图下的错误处理给捕获"""
    return "在news详情页中出现404 会先被本蓝图下的错误处理给捕获"